package com.android.scj.tc.bean;

/**
 *
 * 透明通道请求
 * @author LiuYaDong
 */
public class TTransmissionRequest {
	/**
	 * 	0	1	ConfirmMode	1：需等待OBU应答，0：无需等待应答
	 1	n	原语	通信原语

	 */
	private static final String cmdcode = "F2";
	private String ConfirmMo = "00";
	private String hexstr = "";
	private TTransmissionRequest(){

	}
	public static CMD_55AA create(String confirmMo,String hexstr){
		TTransmissionRequest tt = new TTransmissionRequest();
		if(confirmMo.length()<2)
			confirmMo = "0"+confirmMo;
		tt.ConfirmMo = confirmMo;
		tt.hexstr = hexstr;
		return CMD_55AA.create(cmdcode, tt.ConfirmMo+tt.hexstr);
	}
	public String getConfirmMo() {
		return ConfirmMo;
	}
	public String getHexstr() {
		return hexstr;
	}
}
